package com.aaa.springboot.service;

import com.aaa.springboot.pojo.Book;
import com.aaa.springboot.pojo.vo.BookVO;

import java.util.List;

public interface BookService {
    int deleteByPrimaryKey(Integer id);

    int insert(Book record);

    int insertSelective(Book record);

    Book selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Book record);

    int updateByPrimaryKey(Book record);

    // 查询所有的图书以及进行图片的显示



    List<BookVO> selectAll(String bookname);

}
